package com.example.service;

import java.util.List;

import com.baomidou.mybatisplus.service.IService;
import com.example.entity.SysUser;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lilufeng
 * @since 2016-11-28
 */
public interface ISysUserService extends IService<SysUser> {

	/**
	 * 获取用户所有权限
	 * @param userId
	 * @return
	 */
	List<String> queryAllPerms(Long userId);

	boolean add(SysUser sysUser);
	
}
